package com.lenovo.website.taobao;

import java.util.ArrayList;
import java.util.List;

public class Test {
	static public void main(String[] args){
		List<String> list =new ArrayList<String>() ;
		String homeurl1="http://s.taobao.com/search?spm=a230r.1.0.0.rZq6UK&initiative_id=tbindexz_20140415&tab=all&q=%B1%CA%BC%C7%B1%BE&app=detailproduct&style=list&from_pos=20_1101.default_0_1_267163&pspuid=267163&spu_title=%C9%F1%D6%DB+K650C-I5+D1&cat=1101&m=comment#J_ProdTab" ;
		String homeurl2="http://s.taobao.com/search?spm=a230r.1.0.0.yJ4Z8y&initiative_id=tbindexz_20140415&tab=all&q=%B1%CA%BC%C7%B1%BE&app=detailproduct&style=list&from_pos=20_1101.default_0_3_252580&pspuid=252580&spu_title=%BB%AA%CB%B6+X450EI323VC-SL&cat=1101&m=comment#J_ProdTab" ;
		String homeurl3="http://s.taobao.com/search?spm=a230r.1.0.0.fvQr7i&initiative_id=tbindexz_20140415&tab=all&q=%B1%CA%BC%C7%B1%BE&app=detailproduct&style=list&from_pos=20_1101.default_0_4_245734&pspuid=245734&spu_title=%C1%AA%CF%EB++G510AM-IFI&cat=1101&m=comment#J_ProdTab" ;
		String homeurl4="http://s.taobao.com/search?spm=a230r.1.0.0.9GOqJ6&initiative_id=tbindexz_20140415&tab=all&q=%B1%CA%BC%C7%B1%BE&app=detailproduct&style=list&from_pos=20_1101.default_0_5_256193&pspuid=256193&spu_title=%C1%AA%CF%EB+Y410P-IFI&cat=1101&m=comment#J_ProdTab" ;
		String homeurl5="http://s.taobao.com/search?spm=a230r.1.0.0.jAEytu&initiative_id=tbindexz_20140415&tab=all&q=%B1%CA%BC%C7%B1%BE&app=detailproduct&style=list&from_pos=20_1101.default_0_6_260274&pspuid=260274&spu_title=%C1%AA%CF%EB++B590A-ITH&cat=1101&m=comment#J_ProdTab";
		String homeurl6="http://s.taobao.com/search?spm=a230r.1.0.0.be36gH&initiative_id=tbindexz_20140415&tab=all&q=%B1%CA%BC%C7%B1%BE&app=detailproduct&style=list&from_pos=20_1101.default_0_1_256191&pspuid=256191&spu_title=%C6%BB%B9%FB+MACBOOK+AIR+MD760CH%2FA&cat=1101&m=comment#J_ProdTab" ;
		                
		list.add(homeurl1) ;  list.add(homeurl2) ;  list.add(homeurl3) ;
		  list.add(homeurl4) ; list.add(homeurl5) ; list.add(homeurl6) ;
		try {
			int i=0 ;
			for(String homeurl:list){
			 TaoBaoItem.aORbcomment(homeurl, i+"", 1, false, 1,null) ;
			 i++;
			}
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
